package com.yuanye.recruitCrawler.utils;

import java.util.Scanner;

/** 
 * @author yuanye 2018年8月10日 下午6:10:14
 */
public class ScannerUtil {
	public static String scanner(String tips) {
		System.out.println(tips);
		Scanner scanner=new Scanner(System.in);
		String input=scanner.nextLine();
		//scanner.close();
		return input;
	}
	public static boolean scannerReady() {
		System.out.println("请输入1继续");
		Scanner scanner=new Scanner(System.in);
		String input=scanner.nextLine();
		boolean result=false;
		if(input.equals("1")) {
			result=true;
		}
		//scanner.close();
		return result;
	}
}